home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / lib / tclX-6.4 / help / strings / csubstr < prev    next >
Encoding:
Text File  |  1992-12-17  |  510 b   |  12 lines

  1.  
  2.  
  3.           csubstr string firstExpr lengthExpr
  4.                Returns a range of characters from string starting at
  5.                the character indexed by the expression firstExpr
  6.                (zero-based) for lengthExpr characters.  The special
  7.                keyword end may be specified for lengthExpr to indicate
  8.                that the remainder of the string is to be extracted.
  9.                This command is a short cut for:
  10.  
  11.                    string range string [expr firstExpr] [expr length-1]
  12.